package org.dut.community.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
public class Message {
    private int id;
    private int fromId; // 发送者，系统通知fromId = 1
    private int toId;
    private String conversationId; // 会话id
    private String content;
    private int status; // 0 未读 1 已读 2 删除
    private Date createTime;
}
